


class MainThreadMessagePipe : public nsIMessagePipe
{
public:
	NS_DECL_ISUPPORTS;
	NS_DECL_NSIMESSAGEPIPE;

	MainThreadMessagePipe(nsIMessagePipe* wrapper);

	void Wrap(nsIMessagePipe* pipe);

	virtual ~MainThreadMessagePipe();

protected:
	nsCOMPtr<nsIMessagePipe> m_wrapper;
};
